import Vue from 'vue'
import store from '@/store'
import App from '@/App'
import MpvueRouterPatch from 'mpvue-router-patch'
import '../static/weui.css'

Vue.config.productionTip = false
Vue.use(MpvueRouterPatch)
const app = new Vue({
  store,
  ...App
})
app.$mount()

// 将小程序的全局变量，挂载在Vue的原型上
Vue.prototype.globalData = getApp().globalData
